<template>
    <div class="errorTip">
        <img src="../../assets/web/error.png" alt="">
        <div>
            <p class="backM" @click="gotoLogin">返回首页</p>
        </div>
    </div>
</template>

<script>
export default {   
    methods:{
        gotoLogin(){                      
            var dt=localStorage.getItem("dt_id");
            if(dt==""||dt==undefined||dt==null){
               this.$message.error({
                    message: "获取信息失败！请重新扫码。。",
                    type: "success",
                    center: "true",
                    offset: 300
                });
                return false;
            }else{
               var ulr= window.location.href.split('#')[0];
               window.location.href=ulr+"#/applogin?dtid="+ dt               
            }
        }
    }
}
</script>

<style scoped>
.errorTip{
    text-align: center;
    margin-top: 8rem;
}
.errorTip img{
    width: 65%;
}
a{
        text-decoration: none;
         color:#07B3F9;
        font-size: 16px;
    }
.backM{
    margin-top: 3rem;
}
</style>
